home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source text
| default
| |
98%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 70 69 2e 6e 65 |Path: ne|ws.pi.ne|
|00000010| 74 21 6e 65 77 73 0a 46 | 72 6f 6d 3a 20 68 65 67 |t!news.F|rom: heg|
|00000020| 67 69 65 20 3c 68 65 67 | 67 69 65 40 70 69 2e 6e |gie <heg|gie@pi.n|
|00000030| 65 74 3e 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |et>.News|groups: |
|00000040| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 0a 53 75 62 6a |comp.lan|g.c.Subj|
|00000050| 65 63 74 3a 20 52 65 3a | 20 71 73 6f 72 74 20 47 |ect: Re:| qsort G|
|00000060| 65 74 74 69 6e 67 20 20 | 57 61 72 6e 69 6e 67 73 |etting |Warnings|
|00000070| 0a 44 61 74 65 3a 20 53 | 61 74 2c 20 32 37 20 4a |.Date: S|at, 27 J|
|00000080| 61 6e 20 31 39 39 36 20 | 32 33 3a 34 34 3a 31 38 |an 1996 |23:44:18|
|00000090| 20 2d 30 38 30 30 0a 4f | 72 67 61 6e 69 7a 61 74 | -0800.O|rganizat|
|000000a0| 69 6f 6e 3a 20 68 65 67 | 67 69 65 0a 4d 65 73 73 |ion: heg|gie.Mess|
|000000b0| 61 67 65 2d 49 44 3a 20 | 3c 33 31 30 42 32 39 35 |age-ID: |<310B295|
|000000c0| 32 2e 31 30 33 40 70 69 | 2e 6e 65 74 3e 0a 52 65 |2.103@pi|.net>.Re|
|000000d0| 66 65 72 65 6e 63 65 73 | 3a 20 3c 33 31 30 37 44 |ferences|: <3107D|
|000000e0| 35 38 44 2e 34 30 44 31 | 40 65 6d 61 69 6c 2e 6d |58D.40D1|@email.m|
|000000f0| 6f 74 2e 63 6f 6d 3e 0a | 4e 4e 54 50 2d 50 6f 73 |ot.com>.|NNTP-Pos|
|00000100| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 67 72 6f 33 37 |ting-Hos|t: gro37|
|00000110| 2e 70 69 2e 6e 65 74 0a | 4d 69 6d 65 2d 56 65 72 |.pi.net.|Mime-Ver|
|00000120| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|00000130| 74 2d 54 79 70 65 3a 20 | 74 65 78 74 2f 70 6c 61 |t-Type: |text/pla|
|00000140| 69 6e 3b 20 63 68 61 72 | 73 65 74 3d 75 73 2d 61 |in; char|set=us-a|
|00000150| 73 63 69 69 0a 43 6f 6e | 74 65 6e 74 2d 54 72 61 |scii.Con|tent-Tra|
|00000160| 6e 73 66 65 72 2d 45 6e | 63 6f 64 69 6e 67 3a 20 |nsfer-En|coding: |
|00000170| 37 62 69 74 0a 58 2d 4d | 61 69 6c 65 72 3a 20 4d |7bit.X-M|ailer: M|
|00000180| 6f 7a 69 6c 6c 61 20 32 | 2e 30 62 35 20 28 57 69 |ozilla 2|.0b5 (Wi|
|00000190| 6e 31 36 3b 20 49 29 0a | 54 6f 3a 20 4d 61 72 6b |n16; I).|To: Mark|
|000001a0| 20 53 65 61 62 6f 72 6e | 20 3c 63 6d 73 30 32 34 | Seaborn| <cms024|
|000001b0| 40 65 6d 61 69 6c 2e 6d | 6f 74 2e 63 6f 6d 3e 0a |@email.m|ot.com>.|
|000001c0| 0a 4d 61 72 6b 20 53 65 | 61 62 6f 72 6e 20 77 72 |.Mark Se|aborn wr|
|000001d0| 6f 74 65 3a 0a 3e 20 0a | 3e 20 43 61 6e 20 73 6f |ote:.> .|> Can so|
|000001e0| 6d 65 6f 6e 65 20 73 65 | 6e 64 20 6d 65 20 61 6e |meone se|nd me an|
|000001f0| 20 65 78 61 6d 70 6c 65 | 20 6f 66 20 68 6f 77 20 | example| of how |
|00000200| 74 6f 20 63 61 6c 6c 20 | 71 73 6f 72 74 28 29 20 |to call |qsort() |
|00000210| 6c 6f 63 61 74 65 64 20 | 69 6e 20 73 74 64 6c 69 |located |in stdli|
|00000220| 62 2e 68 20 73 6f 20 49 | 20 64 6f 6e 27 74 20 67 |b.h so I| don't g|
|00000230| 65 74 20 77 61 72 6e 69 | 6e 67 73 2e 20 54 68 65 |et warni|ngs. The|
|00000240| 20 6d 61 6e 20 70 61 67 | 65 20 69 73 0a 3e 20 6a | man pag|e is.> j|
|00000250| 75 73 74 20 6e 6f 74 20 | 63 75 74 74 69 6e 67 20 |ust not |cutting |
|00000260| 69 74 20 66 6f 72 20 6d | 65 2e 0a 0a 49 20 48 4f |it for m|e...I HO|
|00000270| 50 45 20 54 48 49 53 20 | 57 49 4c 4c 20 48 45 4c |PE THIS |WILL HEL|
|00000280| 50 20 59 4f 55 3a 0a 0a | 0a 0a 23 69 6e 63 6c 75 |P YOU:..|..#inclu|
|00000290| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0a 23 69 6e |de <stdi|o.h>.#in|
|000002a0| 63 6c 75 64 65 20 3c 73 | 74 64 6c 69 62 2e 68 3e |clude <s|tdlib.h>|
|000002b0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 72 69 6e |.#includ|e <strin|
|000002c0| 67 2e 68 3e 0a 0a 69 6e | 74 20 73 6f 72 74 5f 66 |g.h>..in|t sort_f|
|000002d0| 75 6e 63 74 69 6f 6e 28 | 20 63 6f 6e 73 74 20 76 |unction(| const v|
|000002e0| 6f 69 64 20 2a 61 2c 20 | 63 6f 6e 73 74 20 76 6f |oid *a, |const vo|
|000002f0| 69 64 20 2a 62 29 3b 0a | 63 68 61 72 20 6c 69 73 |id *b);.|char lis|
|00000300| 74 5b 35 5d 5b 34 5d 20 | 3d 20 7b 20 22 63 61 74 |t[5][4] |= { "cat|
|00000310| 22 2c 20 22 63 61 72 22 | 2c 20 22 63 61 62 22 2c |", "car"|, "cab",|
|00000320| 20 22 63 61 70 22 2c 20 | 22 63 61 6e 22 20 7d 3b | "cap", |"can" };|
|00000330| 0a 0a 69 6e 74 20 6d 61 | 69 6e 28 76 6f 69 64 29 |..int ma|in(void)|
|00000340| 0a 7b 0a 20 20 20 69 6e | 74 20 20 78 3b 0a 0a 20 |.{. in|t x;.. |
|00000350| 20 20 71 73 6f 72 74 28 | 28 76 6f 69 64 20 2a 29 | qsort(|(void *)|
|00000360| 6c 69 73 74 2c 20 35 2c | 20 73 69 7a 65 6f 66 28 |list, 5,| sizeof(|
|00000370| 6c 69 73 74 5b 30 5d 29 | 2c 20 73 6f 72 74 5f 66 |list[0])|, sort_f|
|00000380| 75 6e 63 74 69 6f 6e 29 | 3b 0a 20 20 20 66 6f 72 |unction)|;. for|
|00000390| 20 28 78 20 3d 20 30 3b | 20 78 20 3c 20 35 3b 20 | (x = 0;| x < 5; |
|000003a0| 78 2b 2b 29 0a 20 20 20 | 20 20 20 70 72 69 6e 74 |x++). | print|
|000003b0| 66 28 22 25 73 5c 6e 22 | 2c 20 6c 69 73 74 5b 78 |f("%s\n"|, list[x|
|000003c0| 5d 29 3b 0a 20 20 20 72 | 65 74 75 72 6e 20 30 3b |]);. r|eturn 0;|
|000003d0| 0a 7d 0a 0a 69 6e 74 20 | 73 6f 72 74 5f 66 75 6e |.}..int |sort_fun|
|000003e0| 63 74 69 6f 6e 28 20 63 | 6f 6e 73 74 20 76 6f 69 |ction( c|onst voi|
|000003f0| 64 20 2a 61 2c 20 63 6f | 6e 73 74 20 76 6f 69 64 |d *a, co|nst void|
|00000400| 20 2a 62 29 0a 7b 0a 20 | 20 20 72 65 74 75 72 6e | *b).{. | return|
|00000410| 28 20 73 74 72 63 6d 70 | 28 28 63 68 61 72 20 2a |( strcmp|((char *|
|00000420| 29 61 2c 28 63 68 61 72 | 20 2a 29 62 29 20 29 3b |)a,(char| *)b) );|
|00000430| 0a 7d 0a | |.}. | |
+--------+-------------------------+-------------------------+--------+--------+